def run(params:list[str]):
    from modelscope.pipelines import pipeline
    from modelscope.utils.constant import Tasks
    #pip install mmcv-full==1.5.0

    import sys
    from ApiBase import apiBase

    try:
        input_image = apiBase.argv(1,"/data/bzmwork/softrobot/llm/codeqwen-7b/txt/ocr_recognition.jpg")

        #input_image = 'https://modelscope.oss-cn-beijing.aliyuncs.com/test/images/bird.JPEG'
        image_classification = pipeline(Tasks.image_classification, 
                                        model='damo/cv_vit-base_image-classification_Dailylife-labels')
        result = image_classification(input_image)
        print(result)
    finally:    
        apiBase.close()